//
//  PayBankListView.h
//  JiFengDaRen
//
//  Created by CYF on 2017/3/2.
//  Copyright © 2017年 SH_iOS. All rights reserved.
//
//银行卡弹出列表
#import <UIKit/UIKit.h>


@class PayBankListView;
@protocol PayBankListViewDelegate <NSObject>


/**
 银行卡弹出列表代理

 @param view
 @param bankCardCode 卡号
 @param bankCardId  id
 @param usingChoices 用途 1 收款卡 2 付款卡
 */
- (void)payBankListView:(PayBankListView *)view bankCardCode:(NSString *)bankCardCode bankCardId:(NSString *)bankCardId usingChoices:(NSNumber *)usingChoices;
@end
@interface PayBankListView : UIView
@property(nonatomic,strong)id<PayBankListViewDelegate>delegate;
@property(nonatomic,strong)NSNumber *using_choices;

//显示View;
- (void)showCustomView;


/**
 初始化弹出视图

 @param frame 
 @param usingChoices  用途 11 收款 12 付款
 @param bankCardType // 1 借记卡 2 信用卡
 @return
 */
- (instancetype)initWithFrame:(CGRect)frame usingChoices:(NSNumber *)usingChoices bankCardType:(int )bankCardType;

- (instancetype)initWithFrame:(CGRect)frame usingChoices:(NSNumber *)usingChoices bankCardType:(int )bankCardType showAllBankCard:(BOOL)showAllBankCard;
/**
 初始化弹出视图
 
 @param frame
 @param usingChoices  用途 11 收款 12 付款
 @param bankCardType // 1 借记卡 2 信用卡
 @param bankCardId // 过滤卡id
 @return
 */
- (instancetype)initWithFrame:(CGRect)frame usingChoices:(NSNumber *)usingChoices bankCardType:(int )bankCardType bankCardId:(NSString *)bankCardId showAllBankCard:(BOOL)showAllBankCard;


@property (nonatomic, assign) BOOL isHaide;


@end
